<?php
$config = array();

//cookie
$config['cookie.secret_key'] = 'piscescookiekey';

//cache
$config['cache']['dir'] = substr(dirname(__FILE__), 0, strrpos(__FILE__, "code")).'code/tmp/php-cache/';

//db
$config['db']['prefix'] = 'leo_';
$config['db']['host'] = 'localhost';
$config['db']['port'] = '3306';
$config['db']['user'] = 'root';
$config['db']['pass'] = '111111';
$config['db']['dbname'] = 'leo_client';
$config['db']['charset'] = 'utf8';

//baseurl
$config['baseurl'] = '/';

//版权信息
$config["pisces"]["softname"] = "vtui";
$config["pisces"]["company"] = "淘掌门工作室";
$config["pisces"]["website"] = "http://www.vtui.me";
$config["pisces"]["version"] = "vtui V1.0";

//api信息
$config["api"]["url"] = "http://leo/api.php?";
$config["api"]["key"] = "111";
$config["api"]["secret"] = "111111";



/**
* 分页
*/
$config['pagination.pager']['per_page'] = 10; //每个页面中希望展示的项目数量
$config['pagination.pager']['num_links_show'] = 9; //数字链接显示数量
$config['pagination.pager']['num_point_start_end'] = 0; //“点”前边和后边的链接数量
/**
 * 是否显示上一页,下一页...
 */
$config['pagination.pager']['show_first'] = false;
$config['pagination.pager']['show_prev'] = true;
$config['pagination.pager']['show_next'] = true;
$config['pagination.pager']['show_last'] = false;
$config['pagination.pager']['show_goto'] = false;
$config['pagination.pager']['show_info'] = false;
$config['pagination.pager']['show_point'] = false;
$config['pagination.pager']['show_empty_button'] = false;
/**
 * 上一页,下一页...的显示文字内容
 */
$config['pagination.pager']['first_text'] = '首页';
$config['pagination.pager']['prev_text'] = '<';
$config['pagination.pager']['next_text'] = '>';
$config['pagination.pager']['last_text'] = '尾页';
$config['pagination.pager']['point_text'] = '...';
/**
 * 生成html代码部分, :url表示生成链接
 */
$config['pagination.pager']['full_tag_open'] = '<div class="paginator">';
$config['pagination.pager']['full_tag_close'] = '</div>';
$config['pagination.pager']['num_tag_open'] = '';
$config['pagination.pager']['num_tag_close'] = '';
$config['pagination.pager']['link_tag_open'] = '<a href=":url" hidefocus="true">';
$config['pagination.pager']['link_tag_close'] = '</a>';
$config['pagination.pager']['link_tag_cur_open'] = '<span class="paginator-cur">';
$config['pagination.pager']['link_tag_cur_close'] = '</span>';
$config['pagination.pager']['button_tag_open'] = '<a href=":url" style="font-weight:bold">';
$config['pagination.pager']['button_tag_close'] = '</a>';
$config['pagination.pager']['button_tag_empty_open'] = '<span>';
$config['pagination.pager']['button_tag_empty_close'] = '</span>';
$config['pagination.pager']['point_tag_open'] = '<span class="ellipsis">';
$config['pagination.pager']['point_tag_close'] = '</span>';


return $config;
